<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fns" uri="/WEB-INF/tlds/fns.tld" %>
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<div class="sidebar-scroll" style="overflow: hidden; outline: none;">
	<div class="nav-collapse" id="sidebar" style="height: 0px;">
         <!-- BEGIN SIDEBAR MENU -->
          <ul class="sidebar-menu">
              <li class="sub-menu" id="teacher-topic">
                  <a class="" href="javascript:;">
                      <i class="icon-user"></i>
                      <span>出题管理</span>
                      <span class="arrow"></span>
                  </a>
                  <ul class="sub">
                      <li id="admin-topic-manage"><a href="${ctx }/teacher/topic/manage" >查看所有题目</a></li>
                      <li id="admin-choice-manage"><a href="${ctx }/teacher/topic/mine" >查看我的出题</a></li>
                      <li id="admin-topic-form"><a href="${ctx }/teacher/topic/add/form" >在线出题</a></li>
                  </ul>
              </li>
              <li class="sub-menu" id="teacher-choice">
                  <a class="" href="javascript:;">
                      <i class="icon-user"></i>
                      <span>审题管理</span>
                      <span class="arrow"></span>
                  </a>
                  <ul class="sub">
                      <li id="teacher-topic-check"><a href="${ctx }/teacher/topic/check/manage" >审核出题</a></li>
                      <li id="teacher-choice-manage"><a href="${ctx }/teacher/choice/manage" >审核选题</a></li>
                  </ul>
              </li>
              <li class="sub-menu" id="teacher-paper">
                  <a class="" href="javascript:;">
                      <i class="icon-user"></i>
                      <span>论文管理</span>
                      <span class="arrow"></span>
                  </a>
                  <ul class="sub">
                      <li id="admin-paper-manage"><a href="${ctx }/" >论文</a></li>
                  </ul>
              </li>
		  	  <li class="sub-menu" id="teacher-user">
                  <a class="" href="javascript:;">
                      <i class="icon-dashboard"></i>
                      <span>用户管理</span>
                      <span class="arrow"></span>
                  </a>
                  <ul class="sub">
                      <li id="teacher-user-profile"><a href="${ctx }/teacher/user/profile" >个人资料</a></li>
                      <li id="teacher-user-password"><a href="${ctx }/teacher/user/password" >修改密码</a></li>
                  </ul>
              </li>

          </ul>
         <!-- END SIDEBAR MENU -->
        <div  style="margin-left: 40px; margin-top: 100px" >
            <img class="img-rounded" width="120px" height="120px"src="${curUser.avatarUrl}" />
            <p></p>
            <p><span style="font-size:15px; color: ghostwhite">教师：</span><span style="color:#D3D4D3">${curUser.name}</span></p>
            <p><span style="font-size:15px; color: ghostwhite">部门：</span><span style="color:#D3D4D3">${curUser.office.name}</span></p>
            <p><span style="font-size:15px; color: ghostwhite">指导类型：
            </span><span style="color:#D3D4D3">
            <c:forEach items="${fns:getDictList('topic_type')}" var="dict">
                <c:if test="${curUser.direct == dict.value}">
                    ${dict.label}
                </c:if>
            </c:forEach>
            </span></p>
            <p><span style="font-size:15px; color: ghostwhite">研究方向：</span><span style="color:#D3D4D3">${curUser.study}</span></p>
        </div>
      </div>
</div>
